package com.wzweb.entity;

import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.wzweb.dao.util.DBParse;

public class ScoresgradesParse implements DBParse {
	@Override
	public Scoresgrades parseEntity(ResultSet rs) throws Exception {

		Scoresgrades sg = new Scoresgrades();
		sg.setScoresGradeID(rs.getInt("ScoresGradeID"));
		sg.setScores(rs.getInt("Scores"));
		sg.setGradeName(rs.getString("GradeName"));
		sg.setAddTime(rs.getString("AddTime"));
		
		return sg;
	}
}
